package com.smedi.ismedi.authoritymanagement.api.dto.request;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * @Author: xulinjun
 * @Date: 2021-7-13 19:42
 */
@Data
public class FrameStructureRequest implements Serializable {
    @ApiModelProperty(value = "结构id")
    private Long structureId;

    @ApiModelProperty(value = "根节点编码")
    private String rootCode;

    @ApiModelProperty(value = "根节点名称")
    private String rootName;

    @ApiModelProperty(value = "父节点id")
    private Long parentId;

    @ApiModelProperty(value = "类型")
    private String type;

    @ApiModelProperty(value = "构件id")
    private Long termId;

    @ApiModelProperty(value = "排序号")
    private int displayOrder;

    @ApiModelProperty(value = "子节点")
    private List<FrameStructureRequest> children = new ArrayList<>();
}
